<html>
<head>
<title>TestNG:  登陆管理员账户</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />

<style type="text/css">
.log { display: none;} 
.stack-trace { display: none;} 
</style>
<script type="text/javascript">
<!--
function flip(e) {
  current = e.style.display;
  if (current == 'block') {
    e.style.display = 'none';
    return 0;
  }
  else {
    e.style.display = 'block';
    return 1;
  }
}

function toggleBox(szDivId, elem, msg1, msg2)
{
  var res = -1;  if (document.getElementById) {
    res = flip(document.getElementById(szDivId));
  }
  else if (document.all) {
    // this is the way old msie versions work
    res = flip(document.all[szDivId]);
  }
  if(elem) {
    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
  }

}

function toggleAllBoxes() {
  if (document.getElementsByTagName) {
    d = document.getElementsByTagName('div');
    for (i = 0; i < d.length; i++) {
      if (d[i].className == 'log') {
        flip(d[i]);
      }
    }
  }
}

// -->
</script>

</head>
<body>
<h2 align='center'>登陆管理员账户</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>0/1/0</td>
</tr><tr>
<td>Started on:</td><td>Fri Apr 19 20:15:10 CST 2019</td>
</tr>
<tr><td>Total time:</td><td>76 seconds (76284 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-failed'>
<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.xiaolanyun.appium.DataTest.testCase.Login.LoginPage_001_UICheckForRootLogin_Test.checkLoginUI()'><b>checkLoginUI</b><br>Test class: com.xiaolanyun.appium.DataTest.testCase.Login.LoginPage_001_UICheckForRootLogin_Test<br/>
<a href="#Output-1390458797" onClick='toggleBox("Output-1390458797", this, "Show output", "Hide output");'>Show output</a>

<a href="#Output-1390458797" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-1390458797">
result/screenshots/2019_04_19_20_16_19_checkLoginUI.png<br/>
<img src="../../result/screenshots/2019_04_19_20_16_19_checkLoginUI.png"/><br/>
result/screenshots/2019_04_19_20_16_24_checkLoginUI.png<br/>
<img src="../../result/screenshots/2019_04_19_20_16_24_checkLoginUI.png"/><br/>
</div>
</td>
<td><div><pre>org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15.03 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;2.53.0&apos;, revision: &apos;35ae25b1534ae328c771e0856c93e187490ca824&apos;, time: &apos;2016-03-15 10:43:46&apos;
System info: host: &apos;xiaolanyun&apos;, ip: &apos;66.183.240.6&apos;, os.name: &apos;Windows 8.1&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;6.3&apos;, java.version: &apos;1.7.0_80&apos;
*** Element info: {Using=id, value=com.example.xiaolanyun.ldmart:id/btn_login}
Session ID: d491fcfa-8615-48d1-8189-ab020c514f52
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{automationName=appium, platform=LINUX, app=E:\java_workspace\DevOps_AppiumTest\res\app\android\XiaoLanYunMart-v1.1.1-debug-2019-04-10-09-58.apk, javascriptEnabled=true, appActivity=com.example.xiaolanyun.mart.ui.SplashActivity, deviceModel=ZUK Z2131, networkConnectionEnabled=true, sessionOverride=true, desired={automationName=appium, app=E:\java_workspace\DevOps_AppiumTest\res\app\android\XiaoLanYunMart-v1.1.1-debug-2019-04-10-09-58.apk, platformVersion=6.0.1, deviceName=63a7b810, platformName=Android, appActivity=com.example.xiaolanyun.mart.ui.SplashActivity, unicodeKeyboard=true, sessionOverride=true, resetKeyboard=true, appPackage=com.example.xiaolanyun.ldmart}, locationContextEnabled=false, deviceUDID=63a7b810, appPackage=com.example.xiaolanyun.ldmart, platformVersion=6.0.1, databaseEnabled=false, deviceScreenSize=1080x1920, deviceName=63a7b810, platformName=Android, deviceManufacturer=ZUK, webStorageEnabled=false, unicodeKeyboard=true, resetKeyboard=true, warnings={}, takesScreenshot=true}]
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413)
	at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:62)
	at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)
	at org.openqa.selenium.By$ById.findElement(By.java:218)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
	at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:52)
	at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
	at com.xiaolanyun.appium.DataTest.utils.AppiumUtil.findElement(AppiumUtil.java:96)
	at com.xiaolanyun.appium.DataTest.utils.AppiumUtil.click(AppiumUtil.java:130)
	at com.xiaolanyun.appium.DataTest.pagesHelper.Mart_LoginPageHelper.clickForBuyerSellerLogin(Mart_LoginPageHelper.java:66)
	at com.xiaolanyun.appium.DataTest.testCase.Login.LoginPage_001_UICheckForRootLogin_Test.checkLoginUI(LoginPage_001_UICheckForRootLogin_Test.java:24)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
... Removed 20 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1390458797", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>
<div class='stack-trace' id='stack-trace1390458797'><pre>org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15.03 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;2.53.0&apos;, revision: &apos;35ae25b1534ae328c771e0856c93e187490ca824&apos;, time: &apos;2016-03-15 10:43:46&apos;
System info: host: &apos;xiaolanyun&apos;, ip: &apos;66.183.240.6&apos;, os.name: &apos;Windows 8.1&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;6.3&apos;, java.version: &apos;1.7.0_80&apos;
*** Element info: {Using=id, value=com.example.xiaolanyun.ldmart:id/btn_login}
Session ID: d491fcfa-8615-48d1-8189-ab020c514f52
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{automationName=appium, platform=LINUX, app=E:\java_workspace\DevOps_AppiumTest\res\app\android\XiaoLanYunMart-v1.1.1-debug-2019-04-10-09-58.apk, javascriptEnabled=true, appActivity=com.example.xiaolanyun.mart.ui.SplashActivity, deviceModel=ZUK Z2131, networkConnectionEnabled=true, sessionOverride=true, desired={automationName=appium, app=E:\java_workspace\DevOps_AppiumTest\res\app\android\XiaoLanYunMart-v1.1.1-debug-2019-04-10-09-58.apk, platformVersion=6.0.1, deviceName=63a7b810, platformName=Android, appActivity=com.example.xiaolanyun.mart.ui.SplashActivity, unicodeKeyboard=true, sessionOverride=true, resetKeyboard=true, appPackage=com.example.xiaolanyun.ldmart}, locationContextEnabled=false, deviceUDID=63a7b810, appPackage=com.example.xiaolanyun.ldmart, platformVersion=6.0.1, databaseEnabled=false, deviceScreenSize=1080x1920, deviceName=63a7b810, platformName=Android, deviceManufacturer=ZUK, webStorageEnabled=false, unicodeKeyboard=true, resetKeyboard=true, warnings={}, takesScreenshot=true}]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413)
	at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:62)
	at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)
	at org.openqa.selenium.By$ById.findElement(By.java:218)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
	at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:52)
	at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
	at com.xiaolanyun.appium.DataTest.utils.AppiumUtil.findElement(AppiumUtil.java:96)
	at com.xiaolanyun.appium.DataTest.utils.AppiumUtil.click(AppiumUtil.java:130)
	at com.xiaolanyun.appium.DataTest.pagesHelper.Mart_LoginPageHelper.clickForBuyerSellerLogin(Mart_LoginPageHelper.java:66)
	at com.xiaolanyun.appium.DataTest.testCase.Login.LoginPage_001_UICheckForRootLogin_Test.checkLoginUI(LoginPage_001_UICheckForRootLogin_Test.java:24)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at org.testng.TestRunner.privateRun(TestRunner.java:782)
	at org.testng.TestRunner.run(TestRunner.java:632)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
</pre></div></td>
<td>39</td>
<td>com.xiaolanyun.appium.DataTest.testCase.Login.LoginPage_001_UICheckForRootLogin_Test@4a8dd37d</td></tr>
</table><p>
</body>
</html>